
///////////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////// Table A7 - Polarization //////////////////////////
///////////////////////////////////////////////////////////////////////////////////////////////////

*** Load Data
use Data_OPO_Master.dta, clear
keep if use==1

*** Polarization WO Panel Median

reg sc_cert_granted dist_pet_resp   i.sc_term i.coa_circuit  if use==1 & civil==1, cluster(sc_term)
outreg2 dist_pet_resp  coa_panel_med_cf  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "TableA7.tex", nocons replace tex dec(3) drop(i.sc_term i.coa_circuit) sortvar(dist_pet_resp  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln)

reg sc_cert_granted dist_pet_resp   coa_enbanc coa_panel_dissent coa_lc_reversed dismissed  i.sc_term i.coa_circuit  if use==1 & civil==1, cluster(sc_term)
outreg2 dist_pet_resp  coa_panel_med_cf  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "TableA7.tex", nocons append tex dec(3) drop(i.sc_term i.coa_circuit) sortvar(dist_pet_resp  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln)

reg sc_cert_granted dist_pet_resp    sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln i.sc_term i.coa_circuit  if use==1 & civil==1, cluster(sc_term)
outreg2 dist_pet_resp  coa_panel_med_cf  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "TableA7.tex", nocons append tex dec(3) drop(i.sc_term i.coa_circuit) sortvar(dist_pet_resp  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln)

reg sc_cert_granted dist_pet_resp    coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln  i.sc_term i.coa_circuit  if use==1 & civil==1, cluster(sc_term)
outreg2 dist_pet_resp  coa_panel_med_cf  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln using "TableA7.tex", nocons append tex dec(3) drop(i.sc_term i.coa_circuit) sortvar(dist_pet_resp  coa_enbanc coa_panel_dissent coa_lc_reversed dismissed sc_cert_sg_petitioner sc_cert_sg_respondent sc_pet_corp sc_resp_corp sc_pet_pro_se sc_pet_vet_atty_ln)



